﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZH.Infrastructure.Attr;
using ZH.Infrastructure.Dto.Request.Login;
using ZH.Infrastructure.Dto.Request.Tech;
using ZH.Infrastructure.Dto.Request.Yuyue;
using ZH.Infrastructure.Dto.Response;
using ZH.Infrastructure.Dto.Response.admin;
using ZH.Infrastructure.EFCore.MySql;

namespace ZH.Service.Interface
{
    [Provider_]
    public interface I_Yuyue_Service
    {
        
        /// <summary>
        /// 新增预约
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> ADD_App(Appointment dto);


        /// <summary>
        /// 获取服务类型
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_Service_Type();


        /// <summary>
        /// 获取服务
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_Service(int? page, int? limit, string? id);




        /// <summary>
        /// 获取预约记录
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_order(User_Response_Dto? yy, string id);


        /// <summary>
        /// 取消预约
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Cancel_order(Yuyue_Request_Dto dto);

        Task<Api_Response_Dto> Get_Cashier_Appointment();

        Task<Api_Response_Dto> Get_Cashier_Emp();

        Task<Api_Response_Dto> Get_Cashier_Room();

        Task<Api_Response_Dto> Get_Cashier_Tech();

        Task<Api_Response_Dto> Cashier_Order_Appointment(Yuyue_Cashier_Request_Dto dto);
    }
}
